Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prevent GOV.UK Frontend “already initialised” Tabs error #575

Merged
merged 1 commit into from
Oct 31, 2024

Conversation

colinrotherham
Copy link
Contributor

This PR fixes bug #466616

We were accidentally double-rendering the GOV.UK Frontend Tabs component

This is now thrown by govuk-frontend@5.7.0 since alphagov/govuk-frontend#5272

Copy link

sonarcloud bot commented Oct 31, 2024

@colinrotherham
Copy link
Contributor Author

See guidance in React: Fixing bugs found by double rendering in development which might be useful

@colinrotherham colinrotherham merged commit b376525 into main Oct 31, 2024
11 checks passed
@colinrotherham colinrotherham deleted the bug/466616-form-overview-tabs branch October 31, 2024 13:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants